<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Static Template</title>

    <style>
      .parent {
        display: flex;
        height:600px;
        width: 300px;
        background: yellow;
      }
      .header {
          flex: 1;
        height: 200px;
        background: red;
      }
      .content {
        flex: 1;
        height: 100%;
        background: blue;
      }
      .footer {
        flex: 1;
        height: 200px;
        background: black;
      }
    </style>
  </head>
  <body>
    <div class="parent">
      <div class="header">1</div>
      <div class="content">1</div>
      <div class="footer">1</div>
    </div>
  </body>
</html>
